package cn.hxzy.feign.clients;

import cn.hxzy.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("driver-site")
public interface SiteClient {

    @GetMapping("/site/{id}")
    Result selectById(@PathVariable String id);
    @GetMapping("/site")
    Result selectList();
    @GetMapping("/site/selectCity")
    Result selectCity();
}
